Skip to main content

All Questions

0votes
1answer
188views

Custom directive not picking up model initialization

I have written a custom AngularJS directive that implements a toggle checkbox based on Bootstrap Toggle. I added support for angular-translate, but that is beyond my actual proplem. Furthermore, I ...
user1438038's user avatar
2votes
1answer
1kviews

Pass scope to directive ($uibModal.open method)

I'd like to create custom directive to show some data based on parent's (controller) scope. Directive JS code: (function () { 'use strict'; angular .module('blabla') ....
Michał's user avatar
0votes
0answers
30views

Radio input in directive not working with button-label

I created following directive, which works fine as intended: angular .module('app') .directive('radioselect', radioselect); radioselect.$inject = []; function radioselect() { var html = ...
Matt's user avatar
  • 4,628
0votes
1answer
131views

Transforming Bootstrap datepicker directive to AngularJS Material

I have beginner knowledge of angularjs and am having problems transforming a Datepicker directive that uses a Bootstrap template to AngularJS Material. The original Bootstrap template looks like this:...
Dave's user avatar
  • 1,277
2votes
0answers
745views

TypeError: Cannot read property '$invalid' of undefined

I have a tab inside a HTML form: <div ng-switch-when="identification"> <div ng-include="'register/individual/views/tabs/identificationView.html'"> </div> </div> Inside the ...
LogronJ's user avatar
3votes
2answers
325views

Event bubbling seems not working when using bootstrap modal in AngularJS

I got a some questions about using bootstrap modal. First of all, sorry for my English skill, maybe there are some problems to understand my question. I made a button as a directive to add ...
CRDeity's user avatar
0votes
1answer
56views

Can someone help me I am confused in my AngularJs code

Actually I am using pagination in web page,i am putting one condition ng-if="id !== 0" if this code is true then it will hide some portion if its false its showing that portion.My problem is if ...
user avatar
0votes
0answers
1kviews

AngularJS: Custom dropdown directive

So currently I'm using Angular Material dropdown directive, here is an example of usage <md-select ng-model="scopeClinic"> <md-option ng-value="clinic.id" ng-repeat="clinic in clinics"&...
Majesty's user avatar
  • 2,079
1vote
1answer
1kviews

How to use bootstrap datepicker - jquery plugin in AngularJS

I want to use this plugin in AngularJS in my export table with filters. is it possible to use it with ng-model and all other uses the plugin : https://uxsolutions.github.io/bootstrap-datepicker/?...
fstdv's user avatar
1vote
2answers
948views

angular ng-repeat inside bootstrap popover data-content

Im trying to show a list of usernames but when i hover the icon the popover shows up empty. Directive app.directive('dataContent', function(){ req = [ users =[ {username : 'user1'}, {...
FebMosm's user avatar
1vote
2answers
176views

How to disabled minutes and text (Eastern Standard time) from angular datepicker?

main.html <ul class="dropdown-menu" role="menu" aria-labelledby="dLabel"> <datetimepicker data-ng-model="dateRangeStart" data-datetimepicker-config="{ dropdownSelector: '#dropdownStart', ...
hussain's user avatar
  • 7,133
0votes
2answers
1kviews

ngModel.$setValidity only works once

I'm currently working on a angular bootstrap ui datepicker popup validation, the thing is that I can set the max a min date and validate that (only when the user set the date by clicking on the ...
Franco Aguilera's user avatar
0votes
1answer
73views

Does Bootstrap create gutters inside custom directive elements?

Using Bootstrap and Angular. I have a div inside a custom directive. Even when I set the child div width: 100%; it seems there are gutters on either side of the child div. I tried to adjust margin and ...
Peezer Scrombo's user avatar
0votes
1answer
166views

using Angular Strap, not able to popover the selection menu?

//test.js $scope.popover = { "title": "Title", "content": "<select ><option value = "volvo"> Volvo </option> <option value = "saab"> Saab </option> <option ...
shaan26's user avatar
10votes
2answers
5kviews

AngularJS bootstrap popover custom directive

I have created a directive using bootstrap custom popover. That works taking an input from a user for a group name and it has two buttons for apply that value to model and show that value on tooltip ...
Ghazanfar Khan's user avatar

153050per page
close